  <md-card ng-if="selectedCluster">
     <table  ng-if="settings" md-table class="table md-primary md-data-table">
       <col style="width: 20%;">
       <col style="width: 5%;">
       <col style="width: 20%;">
       <col style="width: 5%;">
       <col style="width: 20%;">
       <col style="width: 5%;">
       <col style="width: 20%;">
       <col style="width: 5%;">

         <tr  md-row>
             <th colspan=8>Orchestrator Images</th>
         </tr>
         <tr><td  colspan=8>
            <span  style="display:inline-block;;margin: 2px;" class="label label-success"> {{selectedCluster.config.provDbDockerImg}}</span>
            <span  style="display:inline-block;;margin: 2px;" class="label label-success">{{selectedCluster.config.provProxyDockerProxysqlImg}}</span>
            <span  style="display:inline-block;;margin: 2px;" class="label label-success">{{selectedCluster.config.provProxyDockerMaxscaleImg}}</span>
            <span  style="display:inline-block;;margin: 2px;" class="label label-success">{{selectedCluster.config.provProxyDockerHaproxyImg}}</span>
            <span  style="display:inline-block;;margin: 2px;" class="label label-success">{{selectedCluster.config.provSphinxDockerImg}}</span>
            <span  style="display:inline-block;;margin: 2px;" class="label label-success">{{selectedCluster.config.provProxyDockerShardproxyImg}}</span>

          </td></tr>
          <tr><td>
             MariaDB:
               <md-select  name="selectedMariaDBImage"  ng-model="selectedMariaDBImage">
                 <md-option ng-selected="{{tag.name ==  selectedCluster.config.provDbDockerImg.split(':')[1]}}"
                            ng-repeat="tag in settings.serviceRepos[0].tags.results" ng-value="tag.name"
                            selected="{{ tag.name === selectedCluster.config.provDbDockerImg.split(':')[1] ? 'selected' : '' }}">
                                 {{tag.name}}</md-option>
              </md-select>
              </td><td valign='middle'>
                <span  style="display:inline-block;;margin: 2px;" ng-click="saveDBImage('mariadb:'+selectedMariaDBImage)"><i   style="display:inline-block;;margin: 2px;"  class="fa fa-save"></i></span>

     </td>
    <td>
         MySQL:
         <md-select  name="selectedMySQLImage" ng-model="selectedMySQLImage">
             <md-option ng-selected="{{tag.name ==  selectedCluster.config.provDbDockerImg.split(':')[1]}}"
                        ng-repeat="tag in settings.serviceRepos[1].tags.results" ng-value="tag.name"
                        selected="{{ tag.name === selectedCluster.config.provDbDockerImg.split(':')[1] ? 'selected' : '' }}">
                             {{tag.name}}</md-option>
          </md-select>
          </td><td>
            <span  style="display:inline-block;;margin: 2px;" ng-click="saveDBImage( settings.serviceRepos[1].image+':'+selectedMySQLImage)"><i   style="display:inline-block;;margin: 2px;"  class="fa fa-save"></i></span>
 </td><td>
     Percona:
     <md-select  name="selectedPerconaImage" ng-model="selectedPerconaImage">
         <md-option ng-selected="{{tag.name ==  selectedCluster.config.provDbDockerImg.split(':')[1]}}"
                    ng-repeat="tag in settings.serviceRepos[2].tags.results" ng-value="tag.name"
                    selected="{{ tag.name === selectedCluster.config.provDbDockerImg.split(':')[1] ? 'selected' : '' }}">
                         {{tag.name}}</md-option>
      </md-select>
      </td><td>
          <span  style="display:inline-block;;margin: 2px;" ng-click="saveDBImage( settings.serviceRepos[2].image+':'+selectedPerconaImage)"><i   style="display:inline-block;;margin: 2px;"  class="fa fa-save"></i></span>
</td><td>
    Postgress:
    <md-select  name="selectedPGImage" ng-model="selectedPGImage">
        <md-option ng-selected="{{tag.name ==  selectedCluster.config.provDbDockerImg.split(':')[1]}}"
                   ng-repeat="tag in settings.serviceRepos[7].tags.results" ng-value="tag.name"
                   selected="{{ tag.name === selectedCluster.config.provDbDockerImg.split(':')[1] ? 'selected' : '' }}">
                        {{tag.name}}</md-option>
     </md-select>
     </td><td>
      <span  style="display:inline-block;;margin: 2px;" ng-click="saveDBImage( settings.serviceRepos[7].image+':'+selectedPGImage)"><i   style="display:inline-block;;margin: 2px;"  class="fa fa-save"></i></span>
 </td></tr>
<tr><td>
    ProxySQL:
    <md-select  name="selecteProxySQLImage" ng-model="selecteProxySQLImage">
        <md-option ng-selected="{{tag.name ==  selectedCluster.config.provProxyDockerProxysqlImg.split(':')[1]}}"
                   ng-repeat="tag in settings.serviceRepos[3].tags.results" ng-value="tag.name"
                   selected="{{ tag.name === selectedCluster.config.provProxyDockerProxysqlImg.split(':')[1] ? 'selected' : '' }}">
                        {{tag.name}}</md-option>
     </md-select>
     </td><td>
          <span  style="display:inline-block;;margin: 2px;" ng-click="saveProxySQLImage( settings.serviceRepos[3].image+':'+selecteProxySQLImage)"><i   style="display:inline-block;;margin: 2px;"  class="fa fa-save"></i></span>
  </td><td>
    Maxscale:
    <md-select  name="selectedMaxscaleImage" ng-model="selectedMaxscaleImage">
        <md-option ng-selected="{{tag.name ==  selectedCluster.config.provProxyDockerMaxscaleImg.split(':')[1]}}"
                   ng-repeat="tag in settings.serviceRepos[4].tags.results" ng-value="tag.name"
                   selected="{{ tag.name === selectedCluster.config.provProxyDockerMaxscaleImg.split(':')[1] ? 'selected' : '' }}">
                        {{tag.name}}</md-option>
     </md-select>
     </td><td>
       <span  style="display:inline-block;;margin: 2px;" ng-click="saveMaxscaleImage( settings.serviceRepos[4].image+':'+selectedMaxscaleImage)"><i   style="display:inline-block;;margin: 2px;"  class="fa fa-save"></i></span>

</td><td>
    HaProxy:
    <md-select  name="selectedHaProxyImage" ng-model="selectedHaProxyImage">
        <md-option ng-selected="{{tag.name ==  selectedCluster.config.provProxyDockerHaproxyImg.split(':')[1]}}"
                   ng-repeat="tag in settings.serviceRepos[5].tags.results" ng-value="tag.name"
                   selected="{{ tag.name === selectedCluster.config.provProxyDockerHaproxyImg.split(':')[1] ? 'selected' : '' }}">
                        {{tag.name}}</md-option>
     </md-select>
     </td><td>
       <span  style="display:inline-block;;margin: 2px;" ng-click="saveHaproxyImage( settings.serviceRepos[5].image+':'+selectedHaProxyImage)"><i   style="display:inline-block;;margin: 2px;"  class="fa fa-save"></i></span>
 </td><td>
    Sphinx:
    <md-select  name="selectedSphinxImage" ng-model="selectedSphinxImage">
        <md-option ng-selected="{{tag.name ==  selectedCluster.config.provSphinxDockerImg.split(':')[1]}}"
                   ng-repeat="tag in settings.serviceRepos[6].tags.results" ng-value="tag.name"
                   selected="{{ tag.name === selectedCluster.config.provSphinxDockerImg.split(':')[1] ? 'selected' : '' }}">
                        {{tag.name}}</md-option>
     </md-select>
     </td><td>
       <span  style="display:inline-block;;margin: 2px;" ng-click="saveSphinxImage( settings.serviceRepos[6].image+':'+selectedSphinxImage)"><i   style="display:inline-block;;margin: 2px;"  class="fa fa-save"></i></span>
</td></tr>
</tr>
<tr><td>
    ShardProxy:
     <md-select  name="selectedShardproxyImg" ng-model="selectedShardproxyImg">
        <md-option ng-selected="{{tag.name ==  selectedCluster.config.provProxyDockerShardproxyImg.split(':')[1]}}"
                   ng-repeat="tag in settings.serviceRepos[0].tags.results" ng-value="tag.name"
                   selected="{{ tag.name === selectedCluster.config.provProxyDockerShardproxyImg.split(':')[1] ? 'selected' : '' }}">
                        {{tag.name}}</md-option>
     </md-select>
     </td><td>
       <span  style="display:inline-block;;margin: 2px;" ng-click="saveShardproxyImage( settings.serviceRepos[0].image+':'+selectedShardproxyImg)"><i   style="display:inline-block;;margin: 2px;"  class="fa fa-save"></i></span>
     </td><td colspan=6>

</td></tr>
   </table>

 </md-card>
